Add optional verbose configuration to .bazelrc#737
Merged
Conversation
This adds a config that can be enabled using the option `--config=verbose`. It it is off by default, keeping the previous behavior intact. When enabled, it makes build and test runs produce a modest increase in diagnostic output. This is useful when debugging GitHub Actions workflows. Also in this commit: some comments acting as section dividers to make navigating this file easier. (I find it helpful when trying to figure out where a given change should go.)
pavoljuhas
reviewed
Jun 3, 2025
Collaborator
pavoljuhas
left a comment
There was a problem hiding this comment.
If this is a permanent bazel option it should be documented so others can discover it without reading bazelrc. If needed temporarily to fix bazel builds, consider adding a TODO to clean it up later.
pavoljuhas
approved these changes
Jun 3, 2025
Collaborator
Author
Good point. I added an explanation to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a config that can be enabled using the option
--config=verbose. It it is off by default, keeping the previous behavior intact. When enabled, it makes build and test runs produce a modest increase in diagnostic output. This is useful when debugging GitHub Actions workflows.Also in this PR: some comments acting as section dividers to make navigating this file easier. (I find it helpful when trying to figure out where a given change should go.)
Finally, this PR documents the
--config=verboseflag indocs/bazel.md.